
package org.agilelang.editor.listener;

import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import org.agilelang.editor.ViewFrame;

public class FileSave implements ActionListener {

    ViewFrame frame;

    public FileSave(ViewFrame frame) {
        this.frame = frame;
    }

    @Override
    public void actionPerformed(ActionEvent e) {
        frame.save();
    }
}
